package codetop.huawei.T1004;

import util.ListUtil;

/**
 * @Author: 18362
 * @Create: 2022-09-12 18:29:51 星期一
 */
public class M1004 {
    public static void main(String[] args) {
        int[] nums = ListUtil.parseIntArray("[0,0,1,1,0,0,1,1,1,0,1,1,0,0,0,1,1,1,1]");
        System.out.println(new Solution().longestOnes(nums, 3));
    }
}
